﻿using System;
using System.Linq;
using System.Text;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///事件表
    ///</summary>
    [SugarTable("scada_sn_track_t")]
    public partial class scada_sn_track_t
    {
           public scada_sn_track_t(){


           }
           /// <summary>
           /// Desc:序列号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Serial_Number {get;set;}

           /// <summary>
           /// Desc:工单
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DisidNo {get;set;}

           /// <summary>
           /// Desc:物料描叙
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Matdesc {get;set;}

           /// <summary>
           /// Desc:物料编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Matid {get;set;}

           /// <summary>
           /// Desc:Mbom版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MBom {get;set;}

           /// <summary>
           /// Desc:工艺流程
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TechProcess {get;set;}

           /// <summary>
           /// Desc:工艺流程版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Small_Version {get;set;}

           /// <summary>
           /// Desc:线体名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Workbinname {get;set;}

           /// <summary>
           /// Desc:线体编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Workbin {get;set;}

           /// <summary>
           /// Desc:序列号状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string STATUS {get;set;}

           /// <summary>
           /// Desc:当前工序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Disque {get;set;}

           /// <summary>
           /// Desc:下一工序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Next_Disque {get;set;}

           /// <summary>
           /// Desc:操作员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Planerid {get;set;}

           /// <summary>
           /// Desc:开始时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? Begintime {get;set;}

           /// <summary>
           /// Desc:结束时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? Endtime {get;set;}

           /// <summary>
           /// Desc:计划工时
           /// Default:
           /// Nullable:True
           /// </summary>           
           public float? PlanTime {get;set;}

           /// <summary>
           /// Desc:第几工序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Disque_Qty {get;set;}

           /// <summary>
           /// Desc:总共多少工序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Disque_Sum {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? createtime_dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string createuser_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? modifytime_dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string remark_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isenable_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isactive_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? issync_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int ID {get;set;}

    }
}
